#ifndef HOMEDEVFORM_H
#define HOMEDEVFORM_H

#include <QWidget>
#include <QTimer>

namespace Ui {
class HomeDevForm;
}

class HomeDevForm : public QWidget
{
    Q_OBJECT

signals:
    void signalSendMsg(QString msg);

public slots:
    void slotParseDevStat(QString data);

public:
    explicit HomeDevForm(QWidget *parent = 0);
    ~HomeDevForm();

private slots:
    void slotDevStatuTIM(void);
    void on_tb_hallLED_clicked();
    void on_tb_bedRoomLED_clicked();
    void on_tb_kotcheLED_clicked();
    void on_tb_lavLED_clicked();
    void on_tb_beep_clicked();
    void on_pb_send_clicked();

private:
    Ui::HomeDevForm *ui;

    QTimer *m_devStatuTimer;
};

#endif // HOMEDEVFORM_H
